package top.shiyiri.shops.service;

import top.shiyiri.shops.dao.AdminsDao;
import top.shiyiri.shops.bean.Admins;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Aunean
 * @date 2021/12/21
 */
@Service
public class AdminsService {

    @Autowired
    private AdminsDao dao;

    public Admins login(String name, String pass) {
        return dao.login(name, pass);
    }
}
